package com.michael.common.error.exception;

public class BizException extends ServiceException{
    public BizException(int errorCode, String errorMessage, Throwable throwable) {
        super(errorCode, errorMessage, throwable);
    }

    public BizException(int errorCode, String errorMessage, Object data) {
        super(errorCode, errorMessage, data);
    }

    public BizException(int errorCode, String errorMessage) {
        super(errorCode, errorMessage);
    }

    public Integer getRet(){
        return this.getErrorCode();
    }
    public String getMsg(){
        return this.getErrorMessage();
    }
}
